﻿@model List<WikeSoft.Enterprise.Models.Sys.RoleModel>

<fieldset>
    <legend>所属角色</legend>
</fieldset>
<div class="checkbox">

    @foreach (var role in Model)
    { 
        <label>
            <input type="checkbox" name="RoleIds" value="@role.Id" @(role.Checked ? "checked='checked'" : "")>@role.RoleName
        </label>
    }

</div>



